<!--
 * @Author: xws 1043495328@qq.com
 * @Date: 2023-08-03 09:43:12
 * @LastEditors: xws 1043495328@qq.com
 * @LastEditTime: 2023-08-03 09:54:34
 * @FilePath: \vue3-admin-template\vw与vh单位解决适配问题\vw与vh单位解决适配问题.html
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .box{
            width: 100vw;
            height: 100vh;
            background-color: orange;
        }
        .top{
            width: 5.2vw;
            height: 9.26vh;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="top"></div>
        <div class="bottom"></div>
    </div>
</body>
</html>
<script>
    // vw|vh:新增单位->支持IE8以上
</script>